# -*- coding: utf-8 -*-

from PyQt4.QtGui import *
from PyQt4.QtCore import *


from settings.settings import initSettings, res
from UI.mainWindow import mainWindow


def main():
    initSettings(res.userPath)
    app = QApplication([])
    font = QFont('Verdana')
    app.setFont(font)
    w = mainWindow()
    w.show()
    app.installEventFilter(w)
    app.exec_()

if __name__ == '__main__':
    main()

